package com.boil.qz.safekavass.weixin.model.receive;

/**
 * Created by ChenYong on 2017-04-28.
 * <br>
 * 链接消息。
 */
public class LinkMsg extends BaseMsg {
    /**
     * 消息标题
     */
    private String Title;
    /**
     * 消息描述
     */
    private String Description;
    /**
     * 消息链接
     */
    private String Url;

    /**
     * 默认构造器。
     */
    public LinkMsg() {
        super();
    }

    public String getTitle() {
        return Title;
    }

    public void setTitle(String title) {
        Title = title;
    }

    public String getDescription() {
        return Description;
    }

    public void setDescription(String description) {
        Description = description;
    }

    public String getUrl() {
        return (Url == null) ? "" : Url;
    }

    public void setUrl(String url) {
        Url = url;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("LinkMsg{");
        sb.append("Title='").append(Title).append('\'');
        sb.append(", ToUserName='").append(ToUserName).append('\'');
        sb.append(", Description='").append(Description).append('\'');
        sb.append(", FromUserName='").append(FromUserName).append('\'');
        sb.append(", Url='").append(Url).append('\'');
        sb.append(", CreateTime=").append(CreateTime);
        sb.append(", MsgType='").append(MsgType).append('\'');
        sb.append(", MsgId=").append(MsgId);
        sb.append('}');
        return sb.toString();
    }
}